<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Flex布局</title>
    <style>
        .container{
            width: 1000px;
            height: 1000px;
            background-color: #fff;

            display: flex;

            gap: 12px;

            
            flex-wrap: wrap;

            align-content: flex-start;

            align-content: center;
        }

        .box{
            width: 150px;
            height: 200px;
            background-color: antiquewhite;
            border-radius: 20px;

           .img{
            width: 100%;
            height: 135px;
            background-color: blue;
           }







        }
    </style>
</head>
<body>
    <div class="container">
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
        <div class="box">内容盒子</div>
    </div>
</body>
</html>